package convert;

import java.util.Date;

import org.smile.beans.converter.ConvertException;
import org.smile.beans.converter.TypeConverter;
import org.smile.reflect.Generic;
import org.smile.util.DateUtils;

public class DestConvert implements TypeConverter {

	@Override
	public Class getType() {
		return Date.class;
	}

	@Override
	public Object convert(Generic generic, Object value) throws ConvertException {
		return DateUtils.convert("2011-11-11 11:11:11");
	}

	@Override
	public Object convert(Object value) throws ConvertException {
		return "";
	}

}
